.transition(@s) {
    -webkit-transition: @s;
    -moz-transition: @s;
    -o-transition: @s;
    transition: @s;
}

.transform (@params) {
    -webkit-transform: @params;
    -moz-transform: @params;
    -o-transform: @params;
    transform: @params;
}

.oneLine () {
    overflow: hidden;
    text-overflow: ellipsis; //文本溢出显示省略号
    white-space: nowrap; //文本不会换行（单行文本溢出）
}

.moreLine(@line) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: @line;
    -webkit-box-orient: vertical;
}

#container {
    width: 100%;
    height: 100%;
}

.map-header-park {
    position: fixed;
    width: 96%;
    height: 1.4rem;
    padding: 0 0.375rem;
    left: 2%;
    box-sizing: border-box;
    background-color: white;
    border-radius: 5px;
    z-index: 99;
    top: 0.125rem;
    .header-park-name {
        width: 90%;
        font-size: 0.55rem;
        color: #757575;
        line-height: 1.4rem;
        .oneLine;
    }
    .icon-more {
        display: block;
        line-height: 1.4rem;
        font-size: 0.65rem;
        text-align: center;
        width: 5%;
        .transition(all .3s);
        &.down {
            .transform(rotate(90deg));
        }
    }
}

.map-park-point {
    position: fixed;
    width: 96%;
    left: 2%;
    top: 1.9rem;
    border-radius: 5px;
    z-index: 200;
    background-color: white;
    font-size: .5rem;
    display: none;
    max-height: 12.9rem;
    overflow-y: auto;
    .park-name {
        height: 2.15rem;
        line-height: 2.15rem;
        color: #413838;
        padding: 0 0.375rem;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #eeeee7;
        .oneLine;
        &:last-child {
            border-bottom: none;
        }
    }
}

.map-flow-tabs {
    position: fixed;
    width: 3.25rem;
    z-index: 99;
    right: 1.3%;
    top: 1.95rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    padding: 0 0.375rem;
    box-sizing: border-box;
    a {
        display: block;
        height: 2.1rem;
        line-height: 2.1rem;
        font-size: .55rem;
        color: #413838;
        text-align: center;
        border-bottom: 1px solid #eaeaea;
        &:last-child {
            border-bottom: none;
        }
    }
}

.map-footer-warp {
    height: 3.8rem;
    overflow: hidden;
    bottom: 0;
    z-index: 199;
    position: fixed;
    .transition(all .5s);
    width: 100%;
}

.map-footer-menu {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    .footer-menu-line {
        width: 100%;
        height: 0.35rem;
    }
    .footer-touch-bar {
        position: absolute;
        height: 0.2rem;
        width: 1.46rem;
        border-radius: 0.1rem;
        background-color: #999999;
        top: 0.35rem;
        left: 50%;
        margin-left: -0.73rem;
    }
    a {
        display: block;
        width: 20%;
        float: left;
        height: 3.4rem;
        text-align: center;
        font-size: 0.5rem;
        color: #5c5c5c;
        .xx-icon {
            display: block;
            margin: 0.75rem auto 0;
            width: 1.4rem;
            height: 1.4rem;
            border-radius: 50%;
            background-color: #5c5c5c;
            text-align: center;
            line-height: 1.4rem;
            color: white;
            font-size: 0.95rem;
        }
        .icon-churukou {
            font-size: 1.15rem;
        }
        .icon-weishengjian1 {
            font-size: 1.1rem;
        }
        .icon-shangchang,
        .icon-tingche {
            font-size: 0.9rem;
        }
        .icon-xiaolianmanyifuwu {
            font-size: 0.9rem;
        }
        .icon-xiuxianyule {
            font-size: .85rem;
        }
        .icon-lanche {
            font-size: 1.25rem;
        }
        .icon-menpiao {
            font-size: 0.7rem;
        }
        .icon-tousu {
            font-weight: 600
        }
        p {
            line-height: 1rem;
        }
        &.on {
            p {
                color: #f05b47;
            }
            .xx-icon {
                background-color: #f05b47;
            }
        }
    }
}

.amap-info-contentContainer {
    .amap-ui-smp-ifwn-content-body {
        border: none;
        border-radius: 4px;
        box-shadow: none;
        padding: 5px;
        .amap-ui-smp-ifwn-info-title {
            border-bottom: 1px solid #eaeaea;
            .park-title {
                display: block;
                width: 197px;
                line-height: 24px;
                font-size: 16px;
                color: #333;
                .oneLine;
            }
            .park-other-title {
                width: 140px;
            }
        }
        .park-window {
            .park-detail-img {
                display: block;
                height: 65px;
                width: 70px;
                &.xx-icon {
                    font-size: 48px;
                    text-align: center;
                    color: #f05b47;
                    line-height: 65px;
                }
            }
            .window-content {
                width: 136px;
                height: 70px;
                padding-left: 10px;
                .window-desc {
                    font-size: 12px;
                    color: #999;
                    .moreLine(2);
                    line-height: 1.4;
                    height: 30px;
                }
                .window-btns {
                    line-height: 34px;
                    a {
                        display: inline-block;
                        vertical-align: middle;
                        margin-right: 5px;
                        height: 24px;
                        width: 62px;
                        line-height: 24px;
                        text-align: center;
                        font-size: 13px;
                        color: white;
                        border: 1px solid #f05b47;
                        border-radius: 2px;
                        &.window-park-detail {
                            box-sizing: border-box;
                            color: #f05b47;
                        }
                        &.window-park-go {
                            box-sizing: border-box;
                            background-color: #f05b47;
                            color: white;
                        }
                        &:last-child {
                            margin-right: 0;
                        }
                    }
                }
            }
            .window-other-content {
                // line-height: 50px;
                padding-top: 4px;
                .other-icon {
                    font-size: 36px;
                    color: #f05b47;
                    display: table-cell;
                    float: left;
                    text-align: center;
                    height: 42px;
                    line-height: 42px;
                }
                .other-go-btn {
                    font-size: 16px;
                    margin-top: 4px;
                    color: white;
                    height: 32px;
                    width: 96px;
                    background-color: #f05b47;
                    border-radius: 3px;
                    line-height: 32px;
                    text-align: center;
                    display: block;
                    float: right;
                }
            }
        }
    }
}

.line-list-warp {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 199;
    height: 0;
    .transition(all .5s);
    max-height: 16.5rem;
    overflow-y: scroll;
    .footer-touch-bar {
        position: absolute;
        height: 0.2rem;
        width: 1.46rem;
        border-radius: 0.1rem;
        background-color: #999999;
        top: 0.35rem;
        left: 50%;
        margin-left: -0.73rem;
    }
    .footer-line-lists {
        padding: 0 0.5rem;
        border-radius: 5px 5px 0 0;
        background: rgba(255, 255, 255, 0.9);
        .line-item {
            width: 100%;
            height: 4rem;
            border-bottom: 1px solid #eaeaea;
            display: table;
            &:last-child {
                border-bottom: none;
            }
            .line-cell {
                display: table-cell;
                vertical-align: middle;
            }
            .line-content {
                width: 70%;
                .line-title {
                    width: 100%;
                    font-size: 0.55rem;
                    color: #333;
                    font-weight: 600;
                    .moreLine(2);
                }
                .line-desc {
                    width: 100%;
                    padding-top: 0.35rem;
                    font-size: 0.45rem;
                    color: #413838;
                    span {
                        margin-right: 0.5rem;
                        strong {
                            color: #fc4150
                        }
                        &:last-child {
                            margin-right: 0;
                        }
                    }
                }
            }
            .line-btns {
                a {
                    display: block;
                    width: 3.65rem;
                    height: 1.25rem;
                    font-size: 0.55rem;
                    color: #f05b47;
                    border: 1px solid #f05b47;
                    text-align: center;
                    line-height: 1.25rem;
                    border-radius: 3px;
                }
            }
        }
    }
}

.line-detail-warp {
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 0;
    z-index: 199;
    background: white;
    .transition(all 0.5s);
    .line-detail-container {
        background: white;
        border-radius: 5px 5px 0 0;
        height: 3rem;
        position: relative;
        .swiper-pagination-bullets {
            bottom: initial;
            top: 0.15rem;
            .swiper-pagination-bullet {
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background-color: #999;
                margin: 0 3px;
            }
        }
        .swiper-wrapper {
            .swiper-slide {
                padding: 1rem 0 0;
                width: 100%;
                .line-detail-content {
                    padding: 0 0.5rem 0.35rem;
                    border-bottom: 1px solid #eaeaea;
                    .line-detail-title {
                        font-size: 0.55rem;
                        color: #333;
                        font-weight: 600;
                        width: 100%;
                        .oneLine;
                    }
                    .line-detail-info {
                        padding-top: 0.25rem;
                        font-size: 0.45rem;
                        color: #413838;
                        .line-info-desc {
                            width: 70%;
                            span {
                                margin-right: 0.5rem;
                                strong {
                                    color: #fc4150
                                }
                                &:last-child {
                                    margin-right: 0;
                                }
                            }
                        }
                        a {
                            color: #fc4150;
                            font-size: 0.5rem;
                        }
                    }
                }
            }
        }
    }
    .line-stand-container {
        background: white;
        .swiper-slide {
            width: auto;
            height: 3.5rem;
            line-height: 3.5rem;
            .line-stand-item {
                display: inline-block;
                vertical-align: middle;
                line-height: 1.1rem;
                padding: 0 0.75rem;
                border: 1px solid #f05b47;
                color: #f05b47;
                border-radius: 0.55rem;
                display: inline-block;
                vertical-align: middle;
                font-size: 0.55rem;
                max-width: 11rem;
            }
            .xx-icon {
                display: inline-block;
                vertical-align: middle;
                font-size: 0.65rem;
                .transform(rotate(90deg));
                color: #ddd;
            }
        }
    }
}

.search-labels {
    padding: 10px 0 20px 15px;
    background: white;
    .search-labels-title {
        font-size: .65rem;
        font-weight: 600;
        color: #333;
    }
    .search-labels-box {
        width: 100%;
        padding-top: 15px;
        .search-labels-item {
            display: block;
            float: left;
            color: #5c5c5c;
            background-color: #f2f2f2;
            font-size: .55rem;
            padding: 5px 10px;
            margin-right: 15px;
            margin-bottom: 15px;
        }
    }
}

.searchbar-result {
    margin-top: 0;
    .weui-cell__bd {
        p {
            font-size: 0.6rem;
            color: #5c5c5c;
        }
    }
}

.amap-controls .amap-toolbar {
    z-index: 99 !important;
}

.amap-touch-toolbar .amap-zoomcontrol {
    bottom: 4rem !important;
    background: rgba(255, 255, 255, 0.9);
}